package com.jingdianjichi.project.infra.basic.es;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * ClassName:EsConfigProperties
 * Package:com.jingdianjichi.subject.infra.basic.es
 * Description:
 *
 * @Author fst
 * @Create 2025/1/5 14:20
 * @Version 1.0
 */

@Component
@ConfigurationProperties(prefix = "es.cluster")
public class EsConfigProperties
{
    private List<EsClusterConfig> esConfigs=new ArrayList<>();


    public List<EsClusterConfig> getEsConfigs()
    {
        return esConfigs;
    }

    public void setEsConfigs(List<EsClusterConfig> esConfigs)
    {
         this.esConfigs=esConfigs;
    }

}
